home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
HypertalkTools.cpt
/
Script Report 1.2
/
card_5069.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
2KB
|
110 lines
-- card: 5069 from stack: in.2
-- bmap block id: 0
-- flags: 0000
-- background id: 2742
-- name:
-- part 2 (field)
-- low flags: 01
-- high flags: 2004
-- rect: left=73 top=105 right=247 bottom=444
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 14
-- style flags: 256
-- line height: 18
-- part name:
-- part 6 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=184 top=260 right=282 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Continue
----- HyperTalk script -----
on mouseUp
global pScript
put the long name of this stack into pReport
delete word 1 of pReport
put "go stack " before pReport
go next card
doMenu New Stack...
if the short name of this stack is "Script Report" then
play harpsichord "ee c"
exit mouseUp
end if
put the long name of this stack into outFile
delete word 1 of outFile
delete first char of outFile
delete last char of outFile
set lockScreen to true
doMenu Delete Stack...
do pReport
go card "Script Screen"
set lockScreen to false
open file outFile
write pScript to file outFile
close file outFile
play harpsichord "ee c"
answer "File output complete." with OK
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 2002
-- rect: left=229 top=293 right=335 bottom=271
-- title width / last selected line: 0
-- icon id / first selected line: 1016 / 1016
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Another
----- HyperTalk script -----
on mouseUp
go prev card
end mouseUp
-- part 9 (field)
-- low flags: 01
-- high flags: 2004
-- rect: left=73 top=55 right=88 bottom=444
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 18
-- style flags: 256
-- line height: 24
-- part name:
-- part contents for card part 2
----- text -----
The next dialog box will ask you for a new stack name.
Simply navigate to the disk/folder
in which you want the text file placed, type the name you wish to use,
and click “New”.
-- part contents for card part 9
----- text -----
Save Scripts to a Text File